package fr.vvins.core.biz.group.dto;

import java.util.List;

import fr.vvins.core.biz.catalog.dto.VigneronDto;
import fr.vvins.core.biz.order.dto.OrderDto;
import fr.vvins.core.biz.user.dto.UserDtoInfo;
import fr.vvins.core.common.dto.BeanDtoImpl;
import fr.vvins.core.common.dto.annotation.Dto;
import fr.vvins.core.group.entity.Group;
@Dto(name="Group", entity=Group.class)

public class GroupDto extends BeanDtoImpl {
	
	private static final long serialVersionUID = -1365054429243797102L;

	private String name;
	
	private UserDtoInfo creator;
	
	private VigneronDto vigneron;
	
	private List<OrderDto> orders;
	
	private boolean privateGroup;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public VigneronDto getVigneron() {
		return vigneron;
	}

	public void setVigneron(VigneronDto vigneron) {
		this.vigneron = vigneron;
	}

	public boolean isPrivateGroup() {
		return privateGroup;
	}

	public void setPrivateGroup(boolean privateGroup) {
		this.privateGroup = privateGroup;
	}

	public List<OrderDto> getOrders() {
		return orders;
	}

	public void setOrders(List<OrderDto> orders) {
		this.orders = orders;
	}
	
	public UserDtoInfo getCreator() {
		return creator;
	}

	public void setCreator(UserDtoInfo creator) {
		this.creator = creator;
	}


}
